import React from 'react'
import { observer } from 'mobx-react';
import { withRouter } from 'react-router-dom';
import ScanningPage from './ScanningPage';

import { Tools } from 'weaver-mobile';
const getLabel = Tools.getLabel;

@withRouter
@observer
export default class InvoiceScanning extends React.Component {
   constructor(props) {
     super(props);
     this.state = {
      };
   }

   componentWillReceiveProps(nextProps, nextState) {
    const location = this.props.location || {};
    const nextLocation = nextProps.location || {};
  }

   render() {
    const { history,detailName,name} = this.props;  
 		return(
 			<div style={{height:"100%"}}>
        {<ScanningPage fnaInfo = {this.props.fnaInfo} />}
			</div>
 		);
  }
}